package com.cbj.db_work.service;

import com.cbj.db_work.entity.News;
import com.baomidou.mybatisplus.extension.service.IService;
import com.cbj.db_work.entity.vo.NewsVo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author cbj
 * @since 2021-07-03
 */
public interface NewsService extends IService<News> {

    boolean addNews(NewsVo vo);

    List<News> getNewsTopSix();

}
